package databaseInterface;

import java.sql.ResultSet;
import java.util.ArrayList;

import po.BookPO;

public interface BookManageInterface {
			public void connect ();
		    
			public  void insert (BookPO b);

			public	void delete (String isbn );
		    
			public  void update(BookPO b,String isbn);
			
			public  ArrayList<BookPO> query ( );
		 
			public  ArrayList<BookPO> queryByISBN (String isbn );
			public  ArrayList<BookPO> queryByTitle  (String t );
			
			public ArrayList<BookPO> queryByPress (String p );
			public  ArrayList<BookPO> queryByAuthor (String a );
			public ArrayList<BookPO> queryByCatalog (String cat );
		  
		    
		    public 	void close();
		   


}
